package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.RegGroup;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 变量分组Service接口
 * 
 * @author yaozh
 * @date 2024-02-29
 */
public interface IRegGroupService 
{
    /**
     * 查询变量分组
     * 
     * @param id 变量分组主键
     * @return 变量分组
     */
    public RegGroup selectRegGroupById(Long id, String dbName);

    /**
     * 查询变量分组列表
     * 
     * @param regGroup 变量分组
     * @return 变量分组集合
     */
    public List<RegGroup> selectRegGroupList(RegGroup regGroup, String dbName);

    List<RegGroup> selectRegGroupForAll(String dbName);

    /**
     * 新增变量分组
     * 
     * @param regGroup 变量分组
     * @return 结果
     */
    public int insertRegGroup(RegGroup regGroup, String dbName);

    /**
     * 修改变量分组
     * 
     * @param regGroup 变量分组
     * @return 结果
     */
    public int updateRegGroup(RegGroup regGroup, String dbName);

    /**
     * 批量删除变量分组
     * 
     * @param ids 需要删除的变量分组主键集合
     * @return 结果
     */
    public int deleteRegGroupByIds(Long[] ids, String dbName);

    /**
     * 删除变量分组信息
     * 
     * @param id 变量分组主键
     * @return 结果
     */
    public int deleteRegGroupById(Long id, String dbName);

    public String importRegGroup(List<RegGroup> regGroupList, Boolean updateSupport, String operName, String dbName);
}
